Waitlist Dashboard (Clinic Admin Side)
Overview
The Waitlist Dashboard serves as the home for managing provider waitlists. It displays providers in both card view and list view, allowing admins to efficiently search, sort, filter providers, and quickly add paitients to waitlist or add provider availability.

Features
Search
- Search for providers by name.
Sorting
Providers can be sorted by:
- First Name (Ascending & Descending)
- List Count (Ascending & Descending) — the count of active waitlists.
Filters
Providers can be filtered by agent types, such as:
- ARNP
- FNPC
- MD
- All Agent Types
Provider Cards

Each provider card displays:
- Avatar (Profile Picture)
- Name
- Role (e.g., ARNP, MD, etc.)
- Waitlisted: number of patients with an active status on that provider's waitlist
- Availabilities: number of active Availabilities for the provider
- Provider Status:
- Accepting: provider currently accepts patient on their waitlist (Implemented)
- Fully booked : (Not Implemented)
- On leave: (Not Implemented)
- Unavailable: (Not Implemented)
Card Actions
- Clicking the Header Area of the card
- Opens the Provider Details view
Each provider card includes two key buttons:
-
Add to Waitlist Button
- Opens a side drawer containing the Waitlist Form(New Patient) or Exisiting Patient Search(Default) view.
-
Add Availability Button
- Opens a side drawer containing the Availability Form.
The Waitlist Dashboard streamlines provider and patient management, making it easier for clinic admins to track, update, and manage provider availability and waitlists efficiently.